<%--
  Created by IntelliJ IDEA.
  User: aming
  Date: 2023-08-04
  Time: 9:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学生信息的注册页面</title>
</head>
<body>
<h2>GET</h2>
<form action="/regist" method="get">
    姓名: <input type="text" name="name"> <br>
    年龄: <input type="text" name="age"> <br>
    密码: <input type="password" name="password"> <br>

    <input type="submit" value="get注册">
</form>

<h2>POST</h2>
<form action="/regist" method="post">
    姓名: <input type="text" name="name"> <br>
    年龄: <input type="text" name="age"> <br>
    密码: <input type="password" name="password"> <br>

    <input type="submit" value="post注册">
</form>

<hr>
msg: ${msg}
</body>
</html>